Skip to content

Conversation

@mshima
Copy link
Member

@mshima mshima commented Oct 31, 2025

Fixes #30501


Please make sure the below checklist is followed for Pull Requests.

When you are still working on the PR, consider converting it to Draft (below reviewers) and adding skip-ci label, you can still see CI build result at your branch.

@murdos
Copy link
Contributor

murdos commented Nov 3, 2025

Out of curiosity, what is the reason/rationale for this change?

@mshima
Copy link
Member Author

mshima commented Nov 3, 2025

Out of curiosity, what is the reason/rationale for this change?

#30501, #30600, #30649

I modern java, /dev/urandom should be the default.

The seemingly redundant /./ in file:/dev/./urandom is a common workaround to ensure the SHA1PRNG algorithm is used, as it was historically found to be more reliable with /dev/urandom in some older Java versions. While /dev/urandom is generally considered reliable now, this practice persists.

This change looks ok to me and appropriate to major release.

@mshima mshima marked this pull request as ready for review November 3, 2025 18:44
@DanielFran DanielFran merged commit 48b2570 into jhipster:main Nov 3, 2025
83 of 85 checks passed
@mshima mshima deleted the urandom branch November 4, 2025 10:34
@mraible mraible added this to the 9.0.0-beta.0 milestone Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

java.security.egd=file:/dev/./urandom causes slow test

4 participants